home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
BSCRIPTS.CST
/
00009_Script_rotate image
< prev
next >
Wrap
Text File
|
1999-04-25
|
1KB
|
59 lines
-- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
-- Developed for Bombardier, Inc.
--
-- All programming developed by:
-- Robert Fabricant, Valerie Valoueva, Ossi Shaked,
-- Henry Sauvageot, Chris Howell & Chris Girand
--
-- Use of this code by parties other than @radical.media, inc. or their
--agents
-- without the express written consent of @radical.media, inc. AND Concurrent
-- New Media Group, L.L.C. is strictly prohibited.
------------------------------------------------------
property sprt
on getPropertyDescriptionList
set description=[:]
addProp description,#sprt,[#default:6,#format:#integer,#comment:¼
"the sprite number "]
return description
end
on getBehaviorDescription
return "simulates 2D object movie. rotates the images"
end
on mousedown
global oldIndex,sseq,eseq
repeat while the mouseDown
set index = the mouseh
put index
if index < oldIndex and oldIndex <> 0 ¼
or index < 50 then
if the frame = eseq then go to frame sseq
else go to the frame +1
else
if index > oldIndex and oldIndex <> 0 ¼
or index > 550 then
if the frame = sseq then go to frame eseq
else go to the frame -1
end if
end if
updateStage
set oldIndex = index
end repeat
pass
end
on mouseup
global oldIndex
set oldIndex = 0
pass
end